package yf.mall.dao;

import com.yf.dao.BaseDao;
import yf.mall.entity.MallSkuItemEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 产品SKU组件Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Aug 08 17:38:32 CST 2019
 */
@Mapper
public interface MallSkuItemDao extends BaseDao<MallSkuItemEntity> {

    int saveList(@Param("list")List<MallSkuItemEntity> list, @Param("skuId") Long skuId);

    List<MallSkuItemEntity> queryListBySkuId(Long skuId);
}
